package com.feri.fss.dao;

import com.feri.fss.entity.Admin;

import java.util.List;

/**
 * @author Feri
 * @date 2021/12/16 09:53
 * @description:TODO
 */
public interface AdminDao {
    //查询
    Admin selectByName(String name);
    //新增
    int insert(Admin admin);
    //查询全部
    List<Admin> selectAll();
    //删除
    int delete(int id);
    //修改
    int update(Admin admin);
}
